//
//  UIButton+FadeWebCache.h
//  YiJuZhangShou2.0
//
//  Created by URANUS on 16/4/20.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (FadeWebCache)

/**默认图片*/
@property (nonnull, nonatomic, copy) NSString *placeHolder;
/**图片渐变加载时间*/
@property (nonnull, nonatomic, copy) NSNumber *fadeTime;

- (void)setImageWithURLString:(nonnull NSString *)urlString
        withPlaceHolderString:(nullable NSString *)placeHolderString
                  andFadeTime:(nullable NSNumber *)fadeTime
                     forState:(UIControlState)state;

- (void)setImageWithURLString:(nonnull NSString *)urlString
                  andFadeTime:(nullable NSNumber *)fadeTime
                     forState:(UIControlState)state;

- (void)setImageWithURLString:(nonnull NSString *)urlString
         andPlaceHolderString:(nullable NSString *)placeHolderString
                     forState:(UIControlState)state;

- (void)setImageWithURLString:(nonnull NSString *)urlString
                     forState:(UIControlState)state;

@end
